@echo off
echo ========================================
echo    测试ANR分析API
echo ========================================

echo.
echo 测试绕过Selenium模式...
curl -X POST http://localhost:8082/api/analysis/analyze ^
  -H "Content-Type: application/json" ^
  -d "{\"deviceSn\":\"test732182506550042332\",\"phone\":\"13800138000\",\"username\":\"test\",\"password\":\"test\"}"

echo.
echo.
echo 测试正常模式（会尝试Selenium）...
curl -X POST http://localhost:8082/api/analysis/analyze ^
  -H "Content-Type: application/json" ^
  -d "{\"deviceSn\":\"732182506550042332\",\"phone\":\"13800138000\",\"username\":\"test\",\"password\":\"test\"}"

echo.
echo ========================================
echo    测试完成
echo ========================================
pause
